<!--
  // Creation History
  // --------------------------------------------------------------
  //	Company:			HTHK
  //	NAME:				RestirctSearch.jsp
  //	TITLE:				Restirct Search
  //	FUNCTION:			Search Restrict by selecting some conditions.
  //	BY:					Jet Tao
  //	DATE:				16/12/2003
  // --------------------------------------------------------------
-->
<%@ include file="../tssheader.jsp" %>
<%@ page import="tss.restrict.*" %>
<%
    //Get A Restrict
   RestrictBean Restrict = (RestrictBean)request.getAttribute("Restrict");
    if (Restrict==null)
       Restrict = new Restrict();
%>

<body>
<h2>Restrict Maintenance</h2>
<form id=fm method=post action=<%=contextPath%>/servlet/tss.restrict.RestrictServlet >
<input type=hidden name=formAction value=<%=formAction%> >
<table cols=10 border=0 >
<tr>
  <td align=right>Before<input type=text name=restrict_bfquantity class=read value="<%=Restrict.getBefore_quantity()%>" onBlur="this.value=this.value.toUpperCase();" readonly maxlength=4 size=8>Weeks</td>
</tr>
<tr>
 <td align=right>After<input type=text name=restrict_afquantity class=read value="<%=Restrict.getAfter_quantity()%>" onBlur="this.value=this.value.toUpperCase();" readonly maxlength=4 size=8 >Weeks</td>
</tr>
<input type=hidden name=restrict_unit value=<%=Restrict.getUnit()%> >

</table>
<hr>

<p>
  <INPUT type=button value=Update   onclick=javascript:location.href="<%=contextPath%>/tss/restrict/Restrict.jsp?formAction=Update"  >
   <INPUT type=reset  value=Cancel >
</p>
</form>
<%@ include file="../tssfooter.jsp" %>
</body>
</html>


